package com.ayitubie.refuelweb.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.util.Date;

@Data
@HeadRowHeight(20)
@ColumnWidth(25)
public class RefuelLogForExcel {
    @ExcelIgnore
    private int refuel_id;
    @ExcelIgnore
    private int refuel_station_id;
    @ExcelProperty(value = "平均油耗", index = 5)
    private float avg_kilo;
    @ExcelProperty(value = "加油站", index = 0)
    private String station_name;
    @ExcelProperty(value = "加油地址", index = 1)
    private String station_address;
    @ExcelIgnore
    private String oil_type;
    @ExcelIgnore
    private float liters;
    @ExcelIgnore
    private String pay_type;
    @ExcelProperty(value = "付款金额", index = 2)
    private float pay_money;
    @ExcelProperty(value = "加油时间", index = 3)
    private Date refuel_time;
    @ExcelProperty(value = "公里数", index = 4)
    private float mileage;
    @ExcelIgnore
    private String photo;
    @ExcelIgnore
    private String imageUrl;
    @ExcelIgnore
    private int userId;
    @ExcelIgnore
    private float pre_mileage;
}
